package shop.up.list;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhh
 * @date 2023/4/7 22:04
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan({"shop.up"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages= {"shop.up"})
public class ServiceListApplication {
    public static void main(String[] args) {

        SpringApplication.run(ServiceListApplication.class,args);
    }
}